import { handleRequestPath } from '@biz/index';

let notNeedRequestIdList = ['/api/v1/demo1-service/name/test1'];

(() => {
    notNeedRequestIdList = notNeedRequestIdList.map((item) => {
        return handleRequestPath(item, false);
    });
    const env = (process_env + '').toLocaleLowerCase();
    if (env === 'development') {
        const newList = [];
        notNeedRequestIdList.forEach((item) => {
            const useMockItem = handleRequestPath(item, true);
            newList.push(useMockItem);
        });
        notNeedRequestIdList = notNeedRequestIdList.concat(newList);
    }
})();

export default notNeedRequestIdList;
